package org.iqiyi.entity;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

@Data
public class AuthRole implements GrantedAuthority {
    private static final long serialVersionUID = 8386864187793300772L;
    private String id;
    private String username;
    @Override
    public String getAuthority() {
        return username;
    }
}
